Platform Explorer / Nuxeo Platform 2023.11

Component org.nuxeo.ecm.platform.task.contentTemplate

Requirements

Resolution Order

523
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.task.contentTemplate">

  <require>
    org.nuxeo.ecm.platform.content.template.service.ContentTemplateService.defaultContrib
  </require>

  <extension
    target="org.nuxeo.ecm.platform.content.template.service.ContentTemplateService"
    point="factoryBinding">

    <factoryBinding name="TasksRootFactory" factoryName="SimpleTemplateRootFactory"
      targetType="Root" append="true">
      <template>
        <templateItem typeName="TaskRoot" id="task-root" title="Task" >
          <acl>
            <ace principal="Administrator" permission="Everything"
              granted="true" />
            <ace principal="administrators" permission="Everything"
              granted="true" />
            <ace principal="Everyone" permission="Everything" granted="false" />
          </acl>
        </templateItem>
      </template>
    </factoryBinding>

  </extension>

</component>